package com.li.arithmetic.tree;

public class Test {
	public static void main(String[] args) {
		BinaryTree bt = new BinaryTree();
		Node root = bt.initTree(10);
		bt.addNode(8);
		bt.addNode(9);
		bt.addNode(11);
		System.out.println(bt.getTreeDepth(root));
		bt.levelTree(root);
		System.out.println();
		bt.MLRTree(root);
		System.out.println();
		bt.LMRTree(root);
		System.out.println();
		bt.LRMTree(root);
		System.out.println();
		System.out.println(bt.getMinData(root));
		System.out.println(bt.getMaxData(root));
	}
}
